import "./index.less"
import { handlerBread } from '@/redux/actions';
import { DashboardOutlined } from '@ant-design/icons';
import { useEffect } from "react";
import { useDispatch } from "react-redux";

const BreadData = [{
    icon: <DashboardOutlined />,
    label: "首页",
    herf: ''
}]


export default function Page() {
    const dispatch = useDispatch()


    useEffect(() => {
        dispatch(handlerBread(BreadData))
    })


    return (
        <div>
            欢迎使用客户关系管理系统
        </div>
    )
}